// 初始化
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

@font-face {
  font-family: electroncFont;
  src: url("../font/DS-DIGIT.TTF");
}

body {
  background: url("../images//bg.jpg") no-repeat top center;
  background-size: 100% 100%;
  line-height: 1.15;
  // overflow: hidden;
}
.warp {
  height: 100%;
  width: 100%;
  header {
    position: relative;
    height: 1.25rem;
    background: url("../images//head_bg.png") no-repeat;
    background-size: 100% 100%;

    h1 {
      font-size: 0.475rem;
      color: #fff;
      text-align: center;
      line-height: 1rem;
    }

    .showTime {
      position: absolute;
      top: 0;
      right: 0.375rem;
      line-height: 0.9375rem;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.25rem;
    }
  }
  .mainBox {
    display: flex;
    min-width: 1024px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 0.125rem;
    height: 100%;
    .column {
      flex: 2;
      .panel {
        position: relative;
        border: 0.0125rem solid rgba(25, 186, 139, 0.17);
        height: 3.875rem;
        background: url("../images/line(1).png") rgba(255, 255, 255, 0.04);
        background-size: 100% 100%;
        padding: 0 0.1875rem 0.5rem 0.1875rem;
        margin-bottom: 0.1875rem;

        &::before {
          position: absolute;
          top: 0;
          left: 0;
          width: 10px;
          height: 10px;
          border-left: 2px solid #02a6b5;
          border-top: 2px solid #02a6b5;
          content: "";
        }

        &::after {
          position: absolute;
          top: 0;
          right: 0;
          width: 10px;
          height: 10px;
          border-right: 2px solid #02a6b5;
          border-top: 2px solid #02a6b5;
          content: "";
        }

        h2 {
          height: 0.6rem;
          line-height: 0.6rem;
          color: #fff;
          font-size: 0.25rem;
          text-align: center;
          font-weight: 400;
          a {
            color: #fff;
            text-decoration: none;
            margin: 0 0.125rem;
          }
        }

        .chart {
          height: 3rem;
        }

        .panelFooter {
          position: absolute;
          bottom: 0;
          left: 0;
          width: 100%;

          &::before {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 10px;
            height: 10px;
            border-left: 2px solid #02a6b5;
            border-bottom: 2px solid #02a6b5;
            content: "";
          }

          &::after {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 10px;
            height: 10px;
            border-right: 2px solid #02a6b5;
            border-bottom: 2px solid #02a6b5;
            content: "";
          }
        }
      }
      // 数字模块
      .no {
        background: rgba(101, 132, 226, 0.1);
        padding: 0.1875rem;

        .noHd {
          position: relative;
          border: 1px solid rgba(25, 186, 139, 0.17);

          &::before {
            position: absolute;
            top: 0;
            left: 0;
            content: "";
            width: 30px;
            height: 10px;
            border-left: 2px solid #02a6b5;
            border-top: 2px solid #02a6b5;
          }

          border: 1px solid rgba(25, 186, 139, 0.17);

          &::after {
            position: absolute;
            bottom: 0;
            right: 0;
            content: "";
            width: 30px;
            height: 10px;
            border-right: 2px solid #02a6b5;
            border-bottom: 2px solid #02a6b5;
          }

          ul {
            text-align: center;
            display: flex;

            li {
              position: relative;
              flex: 1;
              line-height: 1rem;
              color: #ffeb7b;
              font-size: 0.875rem;
              font-family: "electroncFont";

              &::after {
                content: "";
                position: absolute;
                top: 25%;
                height: 50%;
                right: 0;
                width: 1px;
                background: rgba(255, 255, 255, 0.2);
              }
            }
          }
        }

        .noBd {
          ul {
            display: flex;

            li {
              flex: 1;
              text-align: center;
              color: rgba(255, 255, 255, 0.7);
              font-size: 0.225rem;
              height: 0.5rem;
              line-height: 0.5rem;
              padding-top: 0.125rem;
            }
          }
        }
      }

      // 地图模块
      .map {
        position: relative;
        height: 10.125rem;

        .map1 {
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          width: 6.475rem;
          height: 6.475rem;
          background: url("../images//map.png") no-repeat;
          opacity: 0.3; // 透明度
          background-size: 100% 100%;
        }

        .map2 {
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          width: 8.0375rem;
          height: 8.0375rem;
          background: url("../images/lbx.png") no-repeat;
          background-size: 100% 100%;
          opacity: 0.5; // 透明度
          animation: rotate1 15s linear infinite; // 调用动画 15秒 匀速运行 无限循环
        }

        // 定义动画1
        @keyframes rotate1 {
          form {
            transform: translate(-50%, -50%) rotate(0deg);
          }

          to {
            transform: translate(-50%, -50%) rotate(360deg);
          }
        }

        .map3 {
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%, -50%);
          width: 7.075rem;
          height: 7.075rem;
          background: url("../images/jt.png") no-repeat;
          background-size: 100% 100%;
          opacity: 0.7; // 透明度
          animation: rotate2 10s linear infinite; // 调用动画 15秒 匀速运行 无限循环
        }

        // 定义动画2
        @keyframes rotate2 {
          form {
            transform: translate(-50%, -50%) rotate(0deg);
          }

          to {
            transform: translate(-50%, -50%) rotate(-360deg);
          }
        }
        .chart {
          position: absolute;
          top: 0;
          left: 0;
          background-size: 100% 100%;
          width: 100%;
          height: 10.125rem;
        }
      }
    }

    .column:nth-child(2) {
      flex: 5;
      margin: 0 0.125rem;
      overflow: hidden;
    }
  }
}

/* 约束屏幕尺寸 */
@media screen and (max-width: 1024px) {
  html {
    font-size: 42px !important;
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 80px !important;
  }
}
